package com.yanqu.road.entity.log.vehiclesoul;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_soul_wash", desc = "魂石洗练日志", autoSave = true, uploadCk = true, dataUpload = true, eventName = "vehsoul_wash")
public class LogVehicleSoulWash extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "魂石id", dataAttribute = "vehsoul_id")
    private int soulId;
    @FieldTypeAnnotation(desc = "魂石配置id", dataAttribute = "vehsoul_config")
    private int configId;
    @FieldTypeAnnotation(desc = "洗练位置0123", dataAttribute = "vehsoul_pos")
    private int position;
    @FieldTypeAnnotation(desc = "原先这个位置是什么效果", dataAttribute = "vehsoul_washbefore")
    private String old;
    @FieldTypeAnnotation(desc = "洗练结果或者生效结果(洗练要点应用才生效)", dataAttribute = "vehsoul_washafter")
    private String res;
    @FieldTypeAnnotation(desc = "1洗练2生效3取消", dataAttribute = "vehsoul_washtype")
    private int type;
    @FieldTypeAnnotation(desc = "消耗道具数量", dataAttribute = "vehsoul_washcost")
    private String cost;


    public LogVehicleSoulWash(long userId, int soulId, int configId, int position, String old, String res, int type, String cost) {
        this.userId = userId;
        this.soulId = soulId;
        this.configId = configId;
        this.position = position;
        this.old = old;
        this.res = res;
        this.type = type;
        this.cost = cost;
    }

    public long getUserId() {
        return userId;
    }

}
